set(i2c_device_srcs "i2c_device/i2c.c" "i2c_device/pca9557.c" "i2c_device/qmi8658.c")

set(i2s_device_srcs "i2s_device/mic_es7210.c")

set(shell_srcs "shell/shell.c" "shell/shell_commands.c")

idf_component_register(SRCS "sd.c"  "lcd.c" "usb.c" "camera.c"  ${i2c_device_srcs} ${i2s_device_srcs}
                    INCLUDE_DIRS "." "i2c_device"
                    REQUIRES driver esp_lcd tinyusb esp_tinyusb console esp32-camera es7210
                    PRIV_REQUIRES fatfs)
